package lpg;

class SimpleMacroSymbol extends Symbol
{
    SimpleMacroSymbol(String name, int poolIndex)
    {
        super(name, poolIndex);
    }

    String value()
    {
        return value;
    }

    void setValue(String value)
    {
        this.value = value;
    }

    boolean isUsed()
    {
        return used;
    }

    void markUsed()
    {
        used = true;
    }

    private String value = null;
    private boolean used = false;

}
